/* GitHub主题 */
.markdown-theme-github {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #24292e;
}

.markdown-theme-github h1 {
  font-size: 2em;
  margin-bottom: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}

.markdown-theme-github h2 {
  font-size: 1.5em;
  margin-bottom: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}

.markdown-theme-github h3 {
  font-size: 1.25em;
  margin-bottom: 16px;
  font-weight: 600;
}

.markdown-theme-github p {
  margin-bottom: 16px;
}

.markdown-theme-github code {
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 3px;
  padding: 0.2em 0.4em;
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
}

.markdown-theme-github pre {
  background-color: #f6f8fa;
  border-radius: 3px;
  padding: 16px;
  overflow: auto;
  margin-bottom: 16px;
}

.markdown-theme-github blockquote {
  padding: 0 1em;
  color: #6a737d;
  border-left: 0.25em solid #dfe2e5;
  margin-bottom: 16px;
}

.markdown-theme-github table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 16px;
}

.markdown-theme-github table th,
.markdown-theme-github table td {
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
}

.markdown-theme-github table tr {
  background-color: #fff;
  border-top: 1px solid #c6cbd1;
}

.markdown-theme-github table tr:nth-child(2n) {
  background-color: #f6f8fa;
}

/* 暗色模式 */
.dark-mode .markdown-theme-github {
  color: #c9d1d9;
  background-color: transparent;
}

.dark-mode .markdown-theme-github h1,
.dark-mode .markdown-theme-github h2 {
  border-bottom-color: #21262d;
}

.dark-mode .markdown-theme-github code {
  background-color: rgba(110, 118, 129, 0.4);
  color: #c9d1d9;
}

.dark-mode .markdown-theme-github pre {
  background-color: #161b22;
}

.dark-mode .markdown-theme-github blockquote {
  color: #8b949e;
  border-left-color: #30363d;
}

.dark-mode .markdown-theme-github table tr {
  background-color: #0d1117;
  border-top-color: #30363d;
}

.dark-mode .markdown-theme-github table tr:nth-child(2n) {
  background-color: #161b22;
}

.dark-mode .markdown-theme-github table th,
.dark-mode .markdown-theme-github table td {
  border-color: #30363d;
} 